<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .one {
            height: 100px;
            width: 100px;
            background-color: brown;
            margin-bottom: 50px;
        }

        .two {
            height: 100px;
            width: 100px;
            background-color: pink;

            margin-top: 20px;
        }
    </style>
</head>

<body>
    <div class="one">111111111</div>
    <div class="two">111111111</div>
    <!-- margin合并取较大值 -->

</body>

</html>